home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / utility3 / blandmdi.zip / BLANDMDI.H < prev    next >
C/C++ Source or Header  |  1991-05-03  |  1KB  |  46 lines

  1. // Copyright 1991 Microsoft Corporation. All rights reserved.
  2.  
  3. #include "windows.h"
  4.  
  5. #define WINDOWMENU  1  /* position of window menu     */
  6. #define CBWNDEXTRA  0
  7.  
  8. #ifdef RC_INVOKED
  9. #define ID(id) id
  10. #else
  11. #define ID(id) MAKEINTRESOURCE(id)
  12. #endif
  13.  
  14. /* resource ID's */
  15. #define IDBLANDFRAME  ID(1)
  16. #define IDBLANDCHILD  ID(2)
  17. #define IDBLANDMENU   ID(3)
  18.  
  19. /* menu ID's */
  20. #define IDM_FILENEW        1001
  21. #define IDM_FILEEXIT       1006
  22. #define IDM_WINDOWTILE     4001
  23. #define IDM_WINDOWCASCADE  4002
  24. #define IDM_WINDOWCLOSEALL 4003
  25. #define IDM_WINDOWICONS    4004
  26. #define IDM_WINDOWCHILD    4100
  27.  
  28. /* string constants */
  29. #define IDS_CLIENTTITLE    16
  30. #define IDS_UNTITLED       17
  31. #define IDS_APPNAME        18
  32.  
  33. /* External variable declarations */
  34. extern HANDLE hInst;       /* application instance handle  */
  35. extern HWND hwndFrame;     /* main window handle           */
  36. extern HWND hwndMDIClient; /* handle of MDI Client window  */
  37. extern LONG styleDefault;  /* default child creation state */
  38. extern char szChild[];     /* class of child               */
  39.  
  40. /* External functions */
  41. extern BOOL FAR PASCAL InitializeApplication(VOID);
  42. extern BOOL FAR PASCAL InitializeInstance   (LPSTR,WORD);
  43. extern HWND FAR PASCAL MakeNewChild         (char *);
  44. extern LONG FAR PASCAL BlandFrameWndProc    (HWND,WORD,WORD,LONG);
  45. extern LONG FAR PASCAL BlandMDIChildWndProc (HWND,WORD,WORD,LONG);
  46.